﻿using Sumc.Models.Responses;

namespace Sumc.Client.ModernUI.Helpers
{
    public static class ScheduleConverter
    {
        public static string ToUrl(
            TransportType transportType, string lid, string rid, string stopValue)
        {
            var url = string.Format("transportType={0}%26stopValue={1}%26lid={2}%26rid={3}",
                (int)transportType, stopValue, lid, rid);
            return url;
        }
    }
}
